home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1994-08-30 | 4.0 KB | [TEXT/KAHL] |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
You can browse this item here: Think_put.h
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Tue Aug 30 15:08:52 1994, modified Tue Aug 30 15:08:52 1994, creator Think C, type ASCII, 3487 bytes "Think_put.h" , at 0xe1f 382 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [KAHL] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0b 54 68 69 6e 6b 5f | 70 75 74 2e 68 00 00 00 |..Think_|put.h...|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 01 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 0d 9f 00 | 00 01 7e aa 89 34 44 aa |........|..~..4D.|
|00000060| 89 34 44 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.4D.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 be 59 00 00 |........|.....Y..|
|00000080| 2f 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |/*******|********|
|00000090| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000000a0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000000b0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000000c0| 2a 2a 2a 0d 0d 09 54 68 | 69 6e 6b 20 50 75 74 20 |***...Th|ink Put |
|000000d0| 4c 69 62 20 31 2e 30 2e | 31 0d 09 0d 09 0d 09 57 |Lib 1.0.|1......W|
|000000e0| 72 69 74 74 65 6e 20 62 | 79 20 50 2e 20 53 74 61 |ritten b|y P. Sta|
|000000f0| 64 65 6c 6d 61 6e 6e 2c | 20 41 75 67 75 73 74 20 |delmann,| August |
|00000100| 31 39 39 34 2e 0d 09 09 | 0d 09 55 73 65 20 74 68 |1994....|..Use th|
|00000110| 69 73 20 73 65 74 20 6f | 66 20 72 6f 75 74 69 6e |is set o|f routin|
|00000120| 65 73 20 74 6f 20 64 69 | 73 70 6c 61 79 20 66 6f |es to di|splay fo|
|00000130| 72 6d 61 74 65 64 20 6f | 75 74 70 75 74 20 69 6e |rmated o|utput in|
|00000140| 20 64 63 6d 64 73 2e 0d | 0d 09 54 68 69 73 20 77 | dcmds..|..This w|
|00000150| 61 73 20 77 72 69 74 74 | 65 6e 20 62 65 63 61 75 |as writt|en becau|
|00000160| 73 65 20 74 68 65 20 70 | 75 74 2e 6f 20 6c 69 62 |se the p|ut.o lib|
|00000170| 72 61 72 79 20 77 6f 75 | 6c 64 6e 27 74 20 6c 69 |rary wou|ldn't li|
|00000180| 6e 6b 20 69 6e 0d 09 54 | 68 69 6e 6b 20 43 2e 20 |nk in..T|hink C. |
|00000190| 53 6f 6d 65 20 72 6f 75 | 74 69 6e 65 73 20 68 61 |Some rou|tines ha|
|000001a0| 76 65 20 74 68 65 20 73 | 61 6d 65 20 6e 61 6d 65 |ve the s|ame name|
|000001b0| 20 61 73 20 72 6f 75 74 | 69 6e 65 73 20 64 65 66 | as rout|ines def|
|000001c0| 69 6e 65 64 0d 09 69 6e | 20 70 75 74 2e 68 2e 20 |ined..in| put.h. |
|000001d0| 48 6f 77 65 76 65 72 2c | 20 74 68 65 79 20 61 72 |However,| they ar|
|000001e0| 65 20 6e 6f 74 20 66 75 | 6e 63 74 69 6f 6e 6e 61 |e not fu|nctionna|
|000001f0| 6c 79 20 65 71 75 69 76 | 61 6c 65 6e 74 2c 20 61 |ly equiv|alent, a|
|00000200| 73 0d 09 74 68 65 20 69 | 6d 70 6c 65 6d 65 6e 74 |s..the i|mplement|
|00000210| 61 74 69 6f 6e 20 69 73 | 20 64 69 66 66 65 72 65 |ation is| differe|
|00000220| 6e 74 2e 0d 09 20 09 0d | 09 41 6c 6c 20 74 68 65 |nt... ..|.All the|
|00000230| 73 65 20 72 6f 75 74 69 | 6e 65 73 20 75 73 65 20 |se routi|nes use |
|00000240| 61 6e 20 69 6e 74 65 72 | 6e 61 6c 20 73 74 6f 72 |an inter|nal stor|
|00000250| 61 67 65 20 61 72 65 61 | 20 6f 66 20 32 35 35 20 |age area| of 255 |
|00000260| 62 79 74 65 73 0d 09 74 | 6f 20 68 6f 6c 64 20 74 |bytes..t|o hold t|
|00000270| 68 65 20 74 65 78 74 20 | 6f 66 20 74 68 65 20 6e |he text |of the n|
|00000280| 65 78 74 20 6c 69 6e 65 | 20 74 6f 20 64 69 73 70 |ext line| to disp|
|00000290| 6c 61 79 2e 20 54 68 65 | 20 64 61 74 61 20 79 6f |lay. The| data yo|
|000002a0| 75 0d 09 70 61 73 73 20 | 74 6f 20 61 20 72 6f 75 |u..pass |to a rou|
|000002b0| 74 69 6e 65 20 69 73 20 | 61 70 70 65 6e 64 65 64 |tine is |appended|
|000002c0| 20 61 74 20 74 68 65 20 | 65 6e 64 20 6f 66 20 74 | at the |end of t|
|000002d0| 68 65 20 6c 69 6e 65 2e | 0d 09 41 20 69 6e 74 65 |he line.|..A inte|
|000002e0| 72 6e 61 6c 20 76 61 72 | 69 61 62 6c 65 20 6b 65 |rnal var|iable ke|
|000002f0| 65 70 73 20 74 72 61 63 | 6b 20 6f 66 20 74 68 65 |eps trac|k of the|
|00000300| 20 6c 65 6e 67 74 68 20 | 6f 66 20 74 68 65 20 6c | length |of the l|
|00000310| 69 6e 65 2e 0d 09 4f 6e | 63 65 20 74 68 65 20 6c |ine...On|ce the l|
|00000320| 65 6e 67 74 68 20 72 65 | 61 63 68 65 73 20 32 35 |ength re|aches 25|
|00000330| 35 20 63 68 61 72 61 63 | 74 65 72 2c 20 6e 6f 74 |5 charac|ter, not|
|00000340| 68 69 6e 67 20 65 6c 73 | 65 20 69 73 20 61 64 64 |hing els|e is add|
|00000350| 65 64 2e 0d 09 0d 09 57 | 68 65 6e 20 79 6f 75 20 |ed.....W|hen you |
|00000360| 63 61 6c 6c 20 50 75 74 | 4c 69 6e 65 2c 20 74 68 |call Put|Line, th|
|00000370| 65 20 6c 69 6e 65 20 69 | 73 20 64 69 73 70 6c 61 |e line i|s displa|
|00000380| 79 65 64 2c 20 61 6e 64 | 20 74 68 65 20 69 6e 74 |yed, and| the int|
|00000390| 65 72 6e 61 6c 0d 09 62 | 75 66 66 65 72 20 69 73 |ernal..b|uffer is|
|000003a0| 20 63 6c 65 61 72 65 64 | 2e 20 59 6f 75 20 63 61 | cleared|. You ca|
|000003b0| 6e 20 61 6c 73 6f 20 63 | 6c 65 61 72 20 69 74 20 |n also c|lear it |
|000003c0| 61 74 20 61 6e 79 20 74 | 69 6d 65 20 62 79 20 63 |at any t|ime by c|
|000003d0| 61 6c 6c 69 6e 67 0d 09 | 50 75 74 43 6c 65 61 72 |alling..|PutClear|
|000003e0| 2e 20 54 68 69 73 20 6d | 61 79 20 62 65 20 75 73 |. This m|ay be us|
|000003f0| 65 66 75 6c 20 69 66 20 | 79 6f 75 20 65 6e 63 6f |eful if |you enco|
|00000400| 75 6e 74 65 72 20 61 6e | 20 65 72 72 6f 72 2e 0d |unter an| error..|
|00000410| 09 0d 09 44 65 63 69 6d | 61 6c 20 6e 75 6d 62 65 |...Decim|al numbe|
|00000420| 72 73 20 61 72 65 20 64 | 69 73 70 6c 61 79 65 64 |rs are d|isplayed|
|00000430| 20 77 69 74 68 20 61 20 | 6c 65 61 64 69 6e 67 20 | with a |leading |
|00000440| 27 23 27 2e 20 42 69 6e | 61 72 79 20 6e 75 6d 62 |'#'. Bin|ary numb|
|00000450| 65 72 73 0d 09 61 72 65 | 20 64 69 73 70 6c 61 79 |ers..are| display|
|00000460| 65 64 20 69 6e 20 67 72 | 6f 75 70 73 20 6f 66 20 |ed in gr|oups of |
|00000470| 34 20 28 31 2d 34 20 66 | 6f 72 20 74 68 65 20 66 |4 (1-4 f|or the f|
|00000480| 69 72 73 74 20 67 72 6f | 75 70 29 20 62 69 74 73 |irst gro|up) bits|
|00000490| 20 77 69 74 68 0d 09 61 | 20 6c 65 61 64 69 6e 67 | with..a| leading|
|000004a0| 20 27 7e 27 2e 0d 09 0d | 09 54 68 69 73 20 6c 69 | '~'....|.This li|
|000004b0| 62 72 61 72 79 20 75 73 | 65 73 20 67 6c 6f 62 61 |brary us|es globa|
|000004c0| 6c 20 76 61 72 69 61 62 | 6c 65 73 2e 20 54 68 75 |l variab|les. Thu|
|000004d0| 73 2c 20 69 74 20 72 65 | 71 75 69 72 65 73 20 53 |s, it re|quires S|
|000004e0| 65 74 55 70 41 34 2e 0d | 09 0d 09 54 68 69 73 20 |etUpA4..|...This |
|000004f0| 6c 69 62 72 61 72 79 20 | 64 6f 65 73 6e 27 74 20 |library |doesn't |
|00000500| 63 61 6c 6c 20 61 6e 79 | 20 54 6f 6f 6c 62 6f 78 |call any| Toolbox|
|00000510| 20 72 6f 75 74 69 6e 65 | 2e 0d 09 0d 20 2a 2a 2a | routine|.... ***|
|00000520| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000530| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000540| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000550| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2f |********|*******/|
|00000560| 20 0d 0d 0d 23 69 66 6e | 64 65 66 20 5f 5f 54 68 | ...#ifn|def __Th|
|00000570| 69 6e 6b 50 75 74 5f 5f | 0d 23 64 65 66 69 6e 65 |inkPut__|.#define|
|00000580| 20 5f 5f 54 68 69 6e 6b | 50 75 74 5f 5f 0d 0d 0d | __Think|Put__...|
|00000590| 76 6f 69 64 20 50 75 74 | 43 6c 65 61 72 28 29 3b |void Put|Clear();|
|000005a0| 0d 09 2f 2a 20 43 6c 65 | 61 72 20 74 68 65 20 63 |../* Cle|ar the c|
|000005b0| 6f 6e 74 65 6e 74 20 6f | 66 20 74 68 65 20 69 6e |ontent o|f the in|
|000005c0| 74 65 72 6e 61 6c 20 62 | 75 66 66 65 72 20 2a 2f |ternal b|uffer */|
|000005d0| 0d 0d 76 6f 69 64 20 50 | 75 74 4c 69 6e 65 28 29 |..void P|utLine()|
|000005e0| 3b 0d 09 2f 2a 20 44 69 | 73 70 6c 61 79 73 20 74 |;../* Di|splays t|
|000005f0| 68 65 20 63 6f 6e 74 65 | 6e 74 20 6f 66 20 74 68 |he conte|nt of th|
|00000600| 65 20 69 6e 74 65 72 6e | 61 6c 20 62 75 66 66 65 |e intern|al buffe|
|00000610| 72 2c 20 61 6e 64 20 61 | 6c 73 6f 20 63 6c 65 61 |r, and a|lso clea|
|00000620| 72 20 69 74 2e 0d 09 20 | 20 20 49 66 20 74 68 65 |r it... | If the|
|00000630| 20 62 75 66 66 65 72 20 | 69 73 20 65 6d 70 74 79 | buffer |is empty|
|00000640| 2c 20 64 72 61 77 73 20 | 61 20 62 6c 61 6e 6b 20 |, draws |a blank |
|00000650| 6c 69 6e 65 2e 20 2a 2f | 0d 09 0d 76 6f 69 64 20 |line. */|...void |
|00000660| 50 75 74 43 68 61 72 28 | 63 68 61 72 20 63 29 3b |PutChar(|char c);|
|00000670| 0d 20 20 09 2f 2a 20 41 | 70 70 65 6e 64 73 20 74 |. ./* A|ppends t|
|00000680| 68 65 20 63 68 61 72 61 | 63 74 65 72 20 63 20 2a |he chara|cter c *|
|00000690| 2f 0d 20 20 0d 76 6f 69 | 64 20 50 75 74 53 70 61 |/. .voi|d PutSpa|
|000006a0| 63 65 28 29 3b 0d 09 2f | 2a 20 41 70 70 65 6e 64 |ce();../|* Append|
|000006b0| 73 20 61 20 73 70 61 63 | 65 20 2a 2f 0d 20 20 0d |s a spac|e */. .|
|000006c0| 76 6f 69 64 20 50 75 74 | 53 70 61 63 65 73 54 6f |void Put|SpacesTo|
|000006d0| 28 69 6e 74 20 65 6e 64 | 70 6f 73 29 3b 0d 09 2f |(int end|pos);../|
|000006e0| 2a 20 41 70 70 65 6e 64 | 73 20 73 70 61 63 65 73 |* Append|s spaces|
|000006f0| 20 75 6e 74 69 6c 20 74 | 68 65 20 65 6e 64 20 6f | until t|he end o|
|00000700| 66 20 74 68 65 20 6c 69 | 6e 65 20 72 65 61 63 68 |f the li|ne reach|
|00000710| 65 73 20 74 68 65 20 63 | 6f 6c 75 6d 6e 20 65 6e |es the c|olumn en|
|00000720| 64 70 6f 73 20 2a 2f 20 | 0d 09 09 20 20 20 0d 76 |dpos */ |... .v|
|00000730| 6f 69 64 20 50 75 74 54 | 65 78 74 28 63 6f 6e 73 |oid PutT|ext(cons|
|00000740| 74 20 63 68 61 72 2a 20 | 73 2c 20 69 6e 74 20 6c |t char* |s, int l|
|00000750| 65 6e 20 29 3b 0d 09 2f | 2a 20 41 70 70 65 6e 64 |en );../|* Append|
|00000760| 73 20 6c 65 6e 20 63 68 | 61 72 61 63 74 65 72 73 |s len ch|aracters|
|00000770| 20 73 74 61 72 74 69 6e | 67 20 61 74 20 61 64 64 | startin|g at add|
|00000780| 72 65 73 20 73 20 2a 2f | 0d 0d 76 6f 69 64 20 50 |res s */|..void P|
|00000790| 75 74 54 65 78 74 54 6f | 28 63 6f 6e 73 74 20 63 |utTextTo|(const c|
|000007a0| 68 61 72 2a 20 73 2c 20 | 69 6e 74 20 6c 65 6e 2c |har* s, |int len,|
|000007b0| 20 69 6e 74 20 65 6e 64 | 70 6f 73 29 3b 0d 09 2f | int end|pos);../|
|000007c0| 2a 20 41 70 70 65 6e 64 | 73 20 6c 65 6e 20 63 68 |* Append|s len ch|
|000007d0| 61 72 20 73 74 61 72 74 | 69 6e 67 20 61 74 20 73 |ar start|ing at s|
|000007e0| 20 61 6e 64 20 70 61 64 | 20 77 69 74 68 20 73 70 | and pad| with sp|
|000007f0| 61 63 65 73 20 74 6f 20 | 72 65 61 63 68 20 65 6e |aces to |reach en|
|00000800| 64 70 6f 73 2e 0d 09 20 | 20 20 49 66 20 74 68 65 |dpos... | If the|
|00000810| 20 74 65 78 74 20 65 78 | 74 65 6e 64 20 70 61 73 | text ex|tend pas|
|00000820| 74 20 65 6e 64 70 6f 73 | 2c 20 69 74 20 69 73 20 |t endpos|, it is |
|00000830| 74 72 75 6e 63 61 74 65 | 64 20 74 6f 20 66 69 74 |truncate|d to fit|
|00000840| 2e 20 49 6e 20 74 68 69 | 73 20 63 61 73 65 2c 0d |. In thi|s case,.|
|00000850| 09 20 20 20 74 68 65 20 | 63 61 72 61 63 74 65 72 |. the |caracter|
|00000860| 20 64 69 73 70 6c 61 79 | 65 64 20 61 74 20 65 6e | display|ed at en|
|00000870| 64 70 6f 73 20 77 69 6c | 6c 20 62 65 20 22 c9 22 |dpos wil|l be "."|
|00000880| 2e 20 2a 2f 0d 0d 76 6f | 69 64 20 50 75 74 43 53 |. */..vo|id PutCS|
|00000890| 74 72 28 63 6f 6e 73 74 | 20 63 68 61 72 2a 20 73 |tr(const| char* s|
|000008a0| 29 3b 0d 09 2f 2a 20 41 | 70 70 65 6e 64 73 20 74 |);../* A|ppends t|
|000008b0| 68 65 20 6e 75 6c 6c 2d | 74 65 72 6d 69 6e 61 74 |he null-|terminat|
|000008c0| 65 64 20 73 74 72 69 6e | 67 20 73 74 61 72 74 69 |ed strin|g starti|
|000008d0| 6e 67 20 61 74 20 61 64 | 64 72 65 73 73 20 73 20 |ng at ad|dress s |
|000008e0| 2a 2f 0d 0d 76 6f 69 64 | 20 50 75 74 43 53 74 72 |*/..void| PutCStr|
|000008f0| 54 6f 28 63 6f 6e 73 74 | 20 63 68 61 72 2a 20 73 |To(const| char* s|
|00000900| 2c 20 69 6e 74 20 65 6e | 64 70 6f 73 29 3b 0d 09 |, int en|dpos);..|
|00000910| 2f 2a 20 41 70 70 65 6e | 64 73 20 74 68 65 20 6e |/* Appen|ds the n|
|00000920| 75 6c 6c 2d 74 65 72 6d | 69 6e 61 74 65 64 20 73 |ull-term|inated s|
|00000930| 74 72 69 6e 67 20 61 74 | 20 73 20 61 6e 64 20 70 |tring at| s and p|
|00000940| 61 64 20 77 69 74 68 20 | 73 70 61 63 65 73 20 74 |ad with |spaces t|
|00000950| 6f 20 72 65 61 63 68 20 | 65 6e 64 70 6f 73 2e 0d |o reach |endpos..|
|00000960| 09 20 20 20 49 66 20 74 | 68 65 20 73 74 72 69 6e |. If t|he strin|
|00000970| 67 20 65 78 74 65 6e 64 | 20 70 61 73 74 20 65 6e |g extend| past en|
|00000980| 64 70 6f 73 2c 20 69 74 | 20 69 73 20 74 72 75 6e |dpos, it| is trun|
|00000990| 63 61 74 65 64 20 74 6f | 20 66 69 74 2e 20 49 6e |cated to| fit. In|
|000009a0| 20 74 68 69 73 20 63 61 | 73 65 2c 0d 09 20 20 20 | this ca|se,.. |
|000009b0| 74 68 65 20 63 61 72 61 | 63 74 65 72 20 64 69 73 |the cara|cter dis|
|000009c0| 70 6c 61 79 65 64 20 61 | 74 20 65 6e 64 70 6f 73 |played a|t endpos|
|000009d0| 20 77 69 6c 6c 20 62 65 | 20 22 c9 22 2e 20 2a 2f | will be| ".". */|
|000009e0| 0d 0d 76 6f 69 64 20 50 | 75 74 50 53 74 72 28 63 |..void P|utPStr(c|
|000009f0| 6f 6e 73 74 20 75 6e 73 | 69 67 6e 65 64 20 63 68 |onst uns|igned ch|
|00000a00| 61 72 2a 20 73 29 3b 0d | 09 2f 2a 20 53 61 6d 65 |ar* s);.|./* Same|
|00000a10| 20 61 73 20 50 75 74 43 | 53 74 72 20 62 75 74 20 | as PutC|Str but |
|00000a20| 66 6f 72 20 61 20 70 61 | 73 63 61 6c 20 73 74 72 |for a pa|scal str|
|00000a30| 69 6e 67 20 2a 2f 0d 0d | 76 6f 69 64 20 50 75 74 |ing */..|void Put|
|00000a40| 50 53 74 72 54 6f 28 63 | 6f 6e 73 74 20 75 6e 73 |PStrTo(c|onst uns|
|00000a50| 69 67 6e 65 64 20 63 68 | 61 72 2a 20 73 2c 20 69 |igned ch|ar* s, i|
|00000a60| 6e 74 20 65 6e 64 70 6f | 73 29 3b 0d 09 2f 2a 20 |nt endpo|s);../* |
|00000a70| 53 61 6d 65 20 61 73 20 | 50 75 74 43 53 74 72 54 |Same as |PutCStrT|
|00000a80| 6f 20 62 75 74 20 66 6f | 72 20 61 20 70 61 73 63 |o but fo|r a pasc|
|00000a90| 61 6c 20 73 74 72 69 6e | 67 20 2a 2f 0d 0d 76 6f |al strin|g */..vo|
|00000aa0| 69 64 20 50 75 74 55 48 | 65 78 4c 6f 6e 67 20 28 |id PutUH|exLong (|
|00000ab0| 75 6e 73 69 67 6e 65 64 | 20 6c 6f 6e 67 20 69 2c |unsigned| long i,|
|00000ac0| 20 69 6e 74 20 6e 7a 29 | 3b 0d 09 2f 2a 20 41 70 | int nz)|;../* Ap|
|00000ad0| 70 65 6e 64 73 20 74 68 | 65 20 75 6e 73 69 67 6e |pends th|e unsign|
|00000ae0| 65 64 20 6c 6f 6e 67 20 | 6e 75 6d 62 65 72 20 69 |ed long |number i|
|00000af0| 20 69 6e 20 68 65 78 61 | 64 65 63 69 6d 61 6c 2c | in hexa|decimal,|
|00000b00| 20 77 69 74 68 20 6e 7a | 20 64 69 67 69 74 73 20 | with nz| digits |
|00000b10| 64 69 73 70 6c 61 79 65 | 64 2e 20 2a 2f 0d 0d 76 |displaye|d. */..v|
|00000b20| 6f 69 64 20 50 75 74 55 | 48 65 78 57 6f 72 64 28 |oid PutU|HexWord(|
|00000b30| 75 6e 73 69 67 6e 65 64 | 20 73 68 6f 72 74 20 68 |unsigned| short h|
|00000b40| 29 3b 0d 09 2f 2a 20 41 | 70 70 65 6e 64 73 20 74 |);../* A|ppends t|
|00000b50| 68 65 20 75 6e 73 69 67 | 6e 65 64 20 73 68 6f 72 |he unsig|ned shor|
|00000b60| 74 20 6e 75 6d 62 65 72 | 20 69 20 69 6e 20 68 65 |t number| i in he|
|00000b70| 78 61 64 65 63 69 6d 61 | 6c 2c 20 77 69 74 68 20 |xadecima|l, with |
|00000b80| 34 20 64 69 67 69 74 73 | 20 64 69 73 70 6c 61 79 |4 digits| display|
|00000b90| 65 64 2e 20 2a 2f 0d 0d | 76 6f 69 64 20 50 75 74 |ed. */..|void Put|
|00000ba0| 55 44 65 63 28 75 6e 73 | 69 67 6e 65 64 20 6c 6f |UDec(uns|igned lo|
|00000bb0| 6e 67 20 69 29 3b 0d 09 | 2f 2a 20 41 70 70 65 6e |ng i);..|/* Appen|
|00000bc0| 64 73 20 74 68 65 20 75 | 6e 73 69 67 6e 65 64 20 |ds the u|nsigned |
|00000bd0| 6c 6f 6e 67 20 6e 75 6d | 62 65 72 20 69 20 61 73 |long num|ber i as|
|00000be0| 20 61 20 64 65 63 69 6d | 61 6c 20 6e 75 6d 62 65 | a decim|al numbe|
|00000bf0| 72 2e 20 2a 2f 0d 0d 76 | 6f 69 64 20 50 75 74 55 |r. */..v|oid PutU|
|00000c00| 44 65 63 54 6f 28 75 6e | 73 69 67 6e 65 64 20 6c |DecTo(un|signed l|
|00000c10| 6f 6e 67 20 69 2c 20 69 | 6e 74 20 65 6e 64 70 6f |ong i, i|nt endpo|
|00000c20| 73 29 3b 0d 09 2f 2a 20 | 41 70 70 65 6e 64 73 20 |s);../* |Appends |
|00000c30| 74 68 65 20 75 6e 73 69 | 67 6e 65 64 20 6c 6f 6e |the unsi|gned lon|
|00000c40| 67 20 6e 75 6d 62 65 72 | 20 69 20 61 73 20 61 20 |g number| i as a |
|00000c50| 64 65 63 69 6d 61 6c 20 | 6e 75 6d 62 65 72 20 65 |decimal |number e|
|00000c60| 6e 64 69 6e 67 20 61 74 | 20 65 6e 64 70 6f 73 2e |nding at| endpos.|
|00000c70| 20 2a 2f 0d 0d 76 6f 69 | 64 20 50 75 74 53 44 65 | */..voi|d PutSDe|
|00000c80| 63 28 73 69 67 6e 65 64 | 20 6c 6f 6e 67 20 69 29 |c(signed| long i)|
|00000c90| 3b 0d 09 2f 2a 20 41 70 | 70 65 6e 64 73 20 74 68 |;../* Ap|pends th|
|00000ca0| 65 20 73 69 67 6e 65 64 | 20 6c 6f 6e 67 20 6e 75 |e signed| long nu|
|00000cb0| 6d 62 65 72 20 69 20 61 | 73 20 61 20 64 65 63 69 |mber i a|s a deci|
|00000cc0| 6d 61 6c 20 6e 75 6d 62 | 65 72 2e 20 2a 2f 0d 0d |mal numb|er. */..|
|00000cd0| 76 6f 69 64 20 50 75 74 | 53 44 65 63 54 6f 28 73 |void Put|SDecTo(s|
|00000ce0| 69 67 6e 65 64 20 6c 6f | 6e 67 20 69 2c 20 69 6e |igned lo|ng i, in|
|00000cf0| 74 20 65 6e 64 70 6f 73 | 29 3b 0d 09 2f 2a 20 41 |t endpos|);../* A|
|00000d00| 70 70 65 6e 64 73 20 74 | 68 65 20 73 69 67 6e 65 |ppends t|he signe|
|00000d10| 64 20 6c 6f 6e 67 20 6e | 75 6d 62 65 72 20 69 20 |d long n|umber i |
|00000d20| 61 73 20 61 20 64 65 63 | 69 6d 61 6c 20 6e 75 6d |as a dec|imal num|
|00000d30| 62 65 72 20 65 6e 64 69 | 6e 67 20 61 74 20 65 6e |ber endi|ng at en|
|00000d40| 64 70 6f 73 2e 20 2a 2f | 0d 0d 76 6f 69 64 20 50 |dpos. */|..void P|
|00000d50| 75 74 42 69 6e 61 72 79 | 28 75 6e 73 69 67 6e 65 |utBinary|(unsigne|
|00000d60| 64 20 6c 6f 6e 67 20 69 | 2c 20 69 6e 74 20 6e 7a |d long i|, int nz|
|00000d70| 29 3b 0d 09 2f 2a 20 41 | 70 70 65 6e 64 73 20 74 |);../* A|ppends t|
|00000d80| 68 65 20 75 6e 73 69 67 | 6e 65 64 20 6c 6f 6e 67 |he unsig|ned long|
|00000d90| 20 6e 75 6d 62 65 72 20 | 69 20 69 6e 20 62 69 6e | number |i in bin|
|00000da0| 61 72 79 2c 20 77 69 74 | 68 20 6e 7a 20 64 69 67 |ary, wit|h nz dig|
|00000db0| 69 74 73 20 64 69 73 70 | 6c 61 79 65 64 2e 20 2a |its disp|layed. *|
|00000dc0| 2f 0d 0d 76 6f 69 64 20 | 50 75 74 4f 53 54 79 70 |/..void |PutOSTyp|
|00000dd0| 65 28 75 6e 73 69 67 6e | 65 64 20 6c 6f 6e 67 20 |e(unsign|ed long |
|00000de0| 74 79 70 29 3b 0d 09 2f | 2a 20 41 70 70 65 6e 64 |typ);../|* Append|
|00000df0| 73 20 74 68 65 20 6c 6f | 6e 67 20 6e 75 6d 62 65 |s the lo|ng numbe|
|00000e00| 72 20 74 79 70 20 61 73 | 20 61 6e 20 4f 53 54 79 |r typ as| an OSTy|
|00000e10| 70 65 2e 20 2a 2f 0d 0d | 0d 23 65 6e 64 69 66 00 |pe. */..|.#endif.|
|00000e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e80| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 32 |.......L|...L...2|
|00000e90| 21 00 11 12 26 75 66 65 | 65 55 f9 44 06 55 66 65 |!...&ufe|eU.D.Ufe|
|00000ea0| 57 cf ff ff 1e 10 fc bb | c5 55 44 42 10 00 00 01 |W.......|.UDB....|
|00000eb0| 0b 54 68 69 6e 6b 5f 70 | 75 74 2e 68 02 00 02 00 |.Think_p|ut.h....|
|00000ec0| 54 45 58 54 4b 41 48 4c | 01 00 00 34 01 00 00 00 |TEXTKAHL|...4....|
|00000ed0| 02 00 54 45 58 54 4b 41 | 48 4c 01 00 00 34 01 00 |..TEXTKA|HL...4..|
|00000ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ef0| 10 c6 a9 2b f0 e4 00 00 | 0d 9b 00 00 01 7e bb 07 |...+....|.....~..|
|00000f00| bc c5 54 41 22 b7 66 55 | fe 65 01 22 61 fa 00 02 |..TA".fU|.e."a...|
|00000f10| 21 11 11 fe 00 01 02 2f | 20 0f fb bb 66 bb bb bc |!....../| ...f...|
|00000f20| 55 44 2b 76 65 55 56 56 | 52 22 fd 00 00 20 fe 00 |UD+veUVV|R"... ..|
|00000f30| 00 02 fe 22 03 21 11 11 | 12 1e 0f fb b6 88 6b bb |...".!..|......k.|
|00000f40| bb c5 54 b7 66 55 55 65 | 65 62 25 fd 00 02 02 00 |..T.fUUe|eb%.....|
|00000f50| 02 fe 00 01 02 55 fd 22 | 1b 09 fb bf ff 86 6b bb |.....U."|......k.|
|00000f60| bc 5b a6 65 fd 55 01 52 | 50 fb 00 05 22 11 11 01 |.[.e.U.R|P..."...|
|00000f70| 10 00 fd 55 1e 08 fb bf | ff f8 86 6b bb aa 76 fc |...U....|...k..v.|
|00000f80| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fa0| 00 00 00 00 00 00 00 06 | 00 04 00 2a 00 03 01 dd |........|...*....|
|00000fb0| 02 7d 00 38 00 14 01 d6 | 02 40 aa 88 e3 21 00 00 |.}.8....|.@...!..|
|00000fc0| 09 fd 00 00 09 fd 00 00 | 00 00 00 00 00 00 01 00 |........|........|
|00000fd0| 00 00 01 4c 00 00 00 4c | 00 00 00 32 00 7f 6a 5c |...L...L|...2..j\|
|00000fe0| 13 d6 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |.......2|..MPSR..|
|00000ff0| 00 0a 03 ed ff ff 00 00 | 00 00 00 7f 68 a4 00 00 |........|....h...|
+--------+-------------------------+-------------------------+--------+--------+